package cn.ncupyh.Extends;

public class Test {
    public static void main(String[] args) {
        //创建对象并调用方法

        //布偶猫
        Ragdoll rd = new Ragdoll();
        rd.eat();
        rd.drink();
        rd.catchMouse();

        //哈士奇
        Husky h = new Husky();
        Husky.eat();
        Husky.drink();
        Husky.waitMaster();
        Husky.destroyHouse();

    }
}
